package com.learncloud.serviceFeign;

import com.learncloud.FeignHystric.TestFeignServiceHystric;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Created by zhong on 2018/4/10.
 */
@FeignClient(value = "learncloud-service-test1",fallback = TestFeignServiceHystric.class)
public interface TestFeignService {

    @PostMapping(value = "/test")
    String test();
}
